<%
  edit_link(
    decidim_admin.edit_organization_homepage_path,
    :update,
    :organization,
    organization: current_organization
  )
%>

<main class="home">
  <% Decidim::ContentBlock.published.for_scope(:homepage, organization: current_organization).each do |content_block| %>
    <% next unless content_block.manifest %>

    <%= cell content_block.manifest.cell, content_block %>
  <% end %>
</main>
